
<html><HEAD>
<LINK REL=STYLESHEET HREF="default.css" TYPE="text/css">
<TITLE>
About preferences and default settings</TITLE>
</HEAD>
<BODY>

<!-- Header -->
<p class="ancestor" align="right"><A HREF="apptechp226.htm">Previous</A>&nbsp;&nbsp;<A HREF="apptechp228.htm" >Next</A>
<!-- End Header -->
<A NAME="X-REF355583741"></A><h1>About preferences and default settings</h1>
<A NAME="TI6384"></A><p>Many PowerBuilder applications store user preferences and
default settings across sessions. For example, many applications
keep track of settings that control the appearance and behavior
of the application, or store default parameters for connecting to
the database. PowerBuilder applications can manage this kind of
information in initialization files or in the Windows registry.</p>
<A NAME="TI6385"></A><h4>Database connection parameters</h4>
<A NAME="TI6386"></A><p>Often you need to set the values of the Transaction object
from an external file. For example, you might want to retrieve values
from your PowerBuilder initialization file when you are developing
the application or from an application-specific initialization file
when you distribute the application.</p>
<A NAME="TI6387"></A><p>For information about database connection
parameters in an initialization file, see <A HREF="apptechp70.htm#CDEDJBEB">"Reading values from an external
file"</A>. </p>
<A NAME="TI6388"></A><p>For an example of how to save and restore
database connection parameters in the Windows registry, see <A HREF="apptechp229.htm#X-REF355583794">"Managing information
in the Windows registry"</A>.</p>
<A NAME="TI6389"></A><h4>Toolbar settings</h4>
<A NAME="TI6390"></A><p>PowerBuilder provides some functions you can use to retrieve
information about your toolbar settings and also modify these settings.
By using these functions, you can save and restore the current toolbar
settings.</p>
<A NAME="TI6391"></A><p>For more information, see <A HREF="apptechp35.htm#CCJCDGBH">"Saving and restoring toolbar
settings"</A>.</p>
<A NAME="TI6392"></A><h4>Other settings you may want to save</h4>
<A NAME="TI6393"></A><p>In addition to the database connection parameters and toolbar
settings, you may want to store a variety of other application-specific
settings. For example, you might want to keep track of user preferences
for colors, fonts, and other display settings.</p>

